
package com.segment.dcore.servlet.model;


import com.segment.dcore.base.utils.ToString;

/**
 * RequestTraceLog
 *
 * Created by huapeng.hhp on 2017/3/7.
 */
public class RequestTraceLog extends ToString {

    private static final long serialVersionUID = -752486882477420418L;

    /**
     * 调用链路ID
     */
    private String contextId;

    /**
     * 调用链路中的应用名
     */
    private String appName;
    /**
     * 当前毫秒
     */
    private long currentTimeMillis;

    /**
     * 调用远程地址
     */
    private String invokeRemoteHost;
    /**
     * 调用远程端口
     */
    private int invokeRemotePort;
    /**
     * 调用本地地址
     */
    private String invokeLocalHost;
    /**
     * 调用本地端口
     */
    private int invokeLocalPort;
    /**
     * 调用方法 服务名.方法名
     */
    private String invokeMethod;
    /**
     * 版本号
     */
    private String version;

    /**
     * 调用结果
     */
    private String invokeResult;


    public String getContextId() {
        return contextId;
    }

    public void setContextId(String contextId) {
        this.contextId = contextId;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public long getCurrentTimeMillis() {
        return currentTimeMillis;
    }

    public void setCurrentTimeMillis(long currentTimeMillis) {
        this.currentTimeMillis = currentTimeMillis;
    }

    public String getInvokeRemoteHost() {
        return invokeRemoteHost;
    }

    public void setInvokeRemoteHost(String invokeRemoteHost) {
        this.invokeRemoteHost = invokeRemoteHost;
    }

    public int getInvokeRemotePort() {
        return invokeRemotePort;
    }

    public void setInvokeRemotePort(int invokeRemotePort) {
        this.invokeRemotePort = invokeRemotePort;
    }

    public String getInvokeLocalHost() {
        return invokeLocalHost;
    }

    public void setInvokeLocalHost(String invokeLocalHost) {
        this.invokeLocalHost = invokeLocalHost;
    }

    public int getInvokeLocalPort() {
        return invokeLocalPort;
    }

    public void setInvokeLocalPort(int invokeLocalPort) {
        this.invokeLocalPort = invokeLocalPort;
    }

    public String getInvokeMethod() {
        return invokeMethod;
    }

    public void setInvokeMethod(String invokeMethod) {
        this.invokeMethod = invokeMethod;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getInvokeResult() {
        return invokeResult;
    }

    public void setInvokeResult(String invokeResult) {
        this.invokeResult = invokeResult;
    }
}
